<!--<?php
if ($action == 'editdeveloper') {print <<<EOT
-->
<form action="$basename&action=editdeveloper&verify=$posthash" method="post">
<input type="hidden" name="id" value="$id" />
<input type="hidden" name="step" value="2" />
	<div class="admin_table mb10" style="width:500px">
	<h2 class="h1" onmousedown="read.move(event);" style="cursor:move"><a class="del_img fr" href="javascript:;" onclick="closep();">关闭</a>编辑开发商信息</h2>
	<table width="100%" cellspacing="0" cellpadding="0">
		<tr class="tr1 vt">
			<td class="td2">开发商名称</td>
			<td class="td2" colspan="3"><input type="text" name="name" value="{$rt['name']}" class="input input_wb" /></td>
		</tr>
		<tr class="tr1 vt">
			<td class="td2">资质等级</td>
			<td class="td2" colspan="3"><input type="text" name="level" value="{$rt['level']}" class="input input_wb" /></td>
		</tr>
		<tr class="tr1 vt">
			<td class="td2">公司地址</td>
			<td class="td2" colspan="3"><input type="text" name="address" value="{$rt['address']}" class="input input_wb" /></td>
		</tr>
		<tr class="tr1 vt">
			<td class="td2">邮政编码</td>
			<td class="td2"><input type="text" name="zipcode" value="{$rt['zipcode']}" class="input" size="14" /></td>
			<td class="td2">Email</td>
			<td class="td2"><input type="text" name="email" value="{$rt['email']}" class="input" size="13" /></td>
		</tr>
		<tr class="tr1 vt">
			<td class="td2">网址</td>
			<td class="td2" colspan="3"><input type="text" name="url" value="{$rt['url']}" class="input input_wb" /></td>
		</tr>
		<tr class="tr1 vt">
			<td class="td2">负责人</td>
			<td class="td2"><input type="text" name="principal" value="{$rt['principal']}" class="input" size="14" /></td>
			<td class="td2">联系人</td>
			<td class="td2"><input type="text" name="linkman" value="{$rt['linkman']}" class="input" size="13" /></td>
		</tr>
		<tr class="tr1 vt">
			<td class="td2">联系电话</td>
			<td class="td2"><input type="text" name="tel" value="{$rt['tel']}" class="input" size="14" /></td>
			<td class="td2">传真</td>
			<td class="td2"><input type="text" name="fax" value="{$rt['fax']}" class="input" size="13" /></td>
		</tr>
		<tr class="tr1 vt">
			<td class="td2">公司简介</td>
			<td class="td2" colspan="3"><textarea name="introduction" class="textarea">{$rt['introduction']}</textarea></td>
		</tr>
	</table>
	</div>
	<div class="mb10 tac"><span class="btn2"><span><button type="button" onfocus="blur();" onclick="ajax.submit(this.form)">提 交</button></span></span></div>
</form>
<!--
EOT;
} elseif ($action == 'deldeveloper') {print <<<EOT
-->
<form action="$basename&action=developer&verify=$posthash" method="post">
<input type="hidden" name="step" value="2">
<input type="hidden" name="selid[]" value="$id" />
<div style="width:200px;" class="cc">
	<div class="p10 b f14">确定要删除该开发商吗?</div>
	<div class="p10 fr">
	<span class="bt2"><span><button type="submit">删 除</button></span></span>
	<span class="bt2"><span><button type="button" onclick="closep();">取消</button></span></span>
	</div>
</div>
</form>
<!--
EOT;
} elseif ($action == 'editfeed') {print <<<EOT
-->
<form action="$basename&action=editfeed&verify=$posthash" method="post">
<input type="hidden" name="id" value="$id" />
<input type="hidden" name="step" value="2" />
	<div class="admin_table mb10" style="width:500px">
	<h2 class="h1" onmousedown="read.move(event);" style="cursor:move"><a class="del_img fr" href="javascript:;" onclick="closep();">关闭</a>修改楼盘动态</h2>
	<table width="100%" cellspacing="0" cellpadding="0">
		<tr class="tr1 vt">
			<td class="td2">发布日期</td>
			<td class="td2"><input type="text" name="postdate" id="postdate" value="{$rt['postdate']}" class="input input_wa" onclick="ShowCalendar(this.id,1)" /></td>
		</tr>
		<tr class="tr1 vt">
			<td class="td2">动态描述</td>
			<td class="td2"><textarea name="descrip" class="textarea">{$rt['descrip']}</textarea></td>
		</tr>
	</table>
	</div>
	<div class="mb10 tac"><span class="btn2"><span><button type="submit" onfocus="blur();" onclick="ajax.submit(this.form)">提 交</button></span></span></div>
</form>
<!--
EOT;
} elseif ($action == 'setcolony') {print <<<EOT
-->
<ul class="cc list_A list_160" id="cylist">
<!--
EOT;
foreach ($cydb as $key => $value) {print <<<EOT
-->
	<li id="cy_{$value['id']}" onclick="selectcy('{$value['id']}')">{$value['cname']}</li>
<!--
EOT;
}print <<<EOT
-->
</ul>
<!--
EOT;
if ($page > 1) {print <<<EOT
-->
<a class="fl cp mr10" href="$basename&action=setcolony{$url_add}&page=$prepage" onclick="return selPage(this.href);">上一页</a>
<!--
EOT;
}if ($total > ($perpage * $page)) {print <<<EOT
-->
<a class="fr cp mr10" href="$basename&action=setcolony{$url_add}&page=$nextpage" onclick="return selPage(this.href);">下一页</a>
<!--
EOT;
}} elseif ($action == 'editnav') {print <<<EOT
-->
<form action="$basename&action=editnav&verify=$posthash" method="post">
<input type="hidden" name="hid" value="$hid" />
<input type="hidden" name="id" value="$id" />
<input type="hidden" name="step" value="3" />
	<div class="admin_table mb10" style="width:700px">
	<h2 class="h1" onmousedown="read.move(event);" style="cursor:move"><a class="del_img fr" href="javascript:;" onclick="closep();">关闭</a>添加楼盘自定义导航</h2>
	<table width="100%" cellspacing="0" cellpadding="0">
		<tr class="tr1 vt">
		  <td class="td2">栏目名称<span class="s1">*</span></td>
		  <td class="td2"><input name="title" type="text" class="input input_wa" id="title" value="{$r['title']}" /></td>
		</tr>
		<tr class="tr1 vt">
			<td class="td2">栏目链接</td>
			<td class="td2"><input name="link" type="text" class="input input_wb" id="link" value="{$r['link']}" /> (如果是外部链接，要加http://)</td>
		</tr>
		<tr class="tr1 vt">
			<td class="td2">字体样式</td>
			<td class="td2">
				<div class="input_img fl mr10"><i title="选择颜色" class="input_color" onclick="showColorPicker(this,'bgcolor',function(){pickReback('bgcolor_s',color_picker)})">选择颜色</i><input id="bgcolor" value="$style_color" name="color" class="color_input" type="text" /></div>
				<ul class="fl list_A list_80 cc">
					<li><input name="b" type="checkbox" id="b" value="1" onchange="if (this.checked){getObj('bgcolor_s').style.fontWeight='bolder';}else{getObj('bgcolor_s').style.fontWeight='normal';}" $b_check />粗体</li>
					<li><input name="i" type="checkbox" id="i" value="1" onchange="if (this.checked){getObj('bgcolor_s').style.fontStyle='italic';}else{getObj('bgcolor_s').style.fontStyle='normal';}" $i_check />斜体</li>
					<li><input name="u" type="checkbox" id="u" value="1" onchange="if (this.checked){getObj('bgcolor_s').style.textDecoration='underline';}else{getObj('bgcolor_s').style.textDecoration='none';}" $u_check>下划线</li>
				</ul>
				<span class="fl">(<span id='bgcolor_s' style="$fontstyle">字体样式效果</span>)</span>
			</td>
		</tr>
		<tr class="tr1 vt">
			<td class="td2">文字说明</td>
			<td class="td2"><input name="alt" type="text" class="input input_wb" id="alt" value="{$r['alt']}"> (鼠标悬浮于链接文字上时的说明内容)</td>
		</tr>
		<tr class="tr1 vt">
			<td class="td2">目标框架</td>
			<td class="td2">
				<ul class="list_A list_80 cc">
					<li><input type="radio" name="url_target" value="0" $self_check />本窗口</li>
					<li><input type="radio" name="url_target" value="1" $blank_check />新窗口</li>
				</ul>
			</td>
		</tr>
		<tr class="tr1 vt">
			<td class="td2">位置顺序</td>
			<td class="td2"><input name="view" type="text" class="input input_wa" id="view" value="{$r['view']}" /></td>
		</tr>
	</table>
	</div>
	<div class="mb10 tac"><span class="btn2"><span><button type="button" onfocus="blur();" onclick="ajax.submit(this.form)">提 交</button></span></span></div>
</form>
<!--
EOT;
}?>-->